/*--------------------------------------------------------------
# Product One Page Styles
--------------------------------------------------------------*/

.product-tabs .nav-tabs {
  border-bottom: 2px solid #eee;
  margin-bottom: 0;
}

.product-tabs .nav-link {
  border: none;
  font-weight: 500;
  color: var(--default-color);
  padding: 10px 20px;
}

.product-tabs .nav-link.active {
  color: var(--accent-color);
  border-bottom: 2px solid var(--accent-color);
}

.product-tabs .tab-content {
  background: #fff;
  padding: 25px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  margin-top: -1px;
}

.btn-outline-primary {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.btn-outline-primary:hover {
  background-color: var(--accent-color);
  color: #fff;
}

.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-primary:hover {
  background-color: #d94c00;
  border-color: #d94c00;
}

@media (max-width: 768px) {
  .product-tabs .nav-tabs {
    flex-direction: column;
  }

  .product-tabs .nav-link {
    width: 100%;
    text-align: left;
  }

  .btn {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* Enquiry Modal Custom Styles */
.modal-content {
  border-radius: 10px;
}

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-body input,
.modal-body textarea {
  border-radius: 6px;
  box-shadow: none;
}

.modal-body .btn {
  border-radius: 6px;
}

.product-highlights {
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  line-height: 1.6;
  color: var(--default-color);
  padding-left: 0;
}

.product-highlights li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 1.8rem;
  font-size: inherit;
  font-weight: 400;
  line-height: 1.6;
  color: var(--default-color);
}

.product-highlights li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
  width: 1rem; /* Reserves visual space */
  display: inline-block;
}

/* Zoom effect on product image */
.magnifier-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  
}

.magnifier-container img {
  width: 100%;
  
}

.magnify-lens {
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 999;
  transition: all 0.1s ease-out;
}

.magnify-popup {
  margin-left: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  z-index: 1000;
}

.product-zoom-container {
  position: relative;
  height: 420px; /* or whatever your image height is */
  margin-bottom: 2rem; /* add spacing */
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: nowrap;

}

.img-container {
  width: 400px;
  height: 400px;
  flex-shrink: 0;
  /* overflow: hidden;
  position: relative; */
}

.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: crosshair;
  display: block;
}

#zoom-box {
  position: absolute;
  top: 0;
  left: 100%; /* place to the right of image */
  margin-left: 20px;
  width: 700px;
  height: 700px;
  background-repeat: no-repeat;
  background-size: 200% 200%;
  border: 1px solid #ccc;
  display: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  z-index: 999;
}


@media (max-width: 768px) {
  #zoom-box {
    display: none; /* Hide zoom on small screens */
  }

  .product-zoom-container {
    height: auto; /* Let it collapse naturally */
  }
}

/* .img-wrapper {
  position: relative;
  width: 400px;
  height: 400px;
  flex-shrink: 0;
} */

/* ⬇️ BEGIN: Light border box around image */
.image-box-wrapper {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1rem;
  display: inline-block;
}
/* ⬆️ END: Light border box around image */

/* ⬇️ BEGIN: Wrapper to center image inside the box */
.img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}
/* ⬆️ END: Wrapper to center image inside the box */

/* .image-box-wrapper {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1rem;
} */


#specs table th,
#specs table td {
  width: 10.66%; /* 100% / 6 columns */
  word-break: break-word;
  text-align: center;
  vertical-align: middle;
}

#specs table td {
  white-space: normal;
}